package org.dynobjects.core.xml;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class Param implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5571190563031862531L;

	private String value;

	private Collection valueList = new ArrayList();

	private Map map = new HashMap();

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Collection getValueList() {
		return valueList;
	}

	public void setValueList(Collection valueList) {
		this.valueList = valueList;
	}

	public void addValueList(Object obj) {
		valueList.add(obj);
	}
	
	public void putMap(Object key,Object value){
		map.put(key, value);
	}

	public Map getMap() {
		return map;
	}

	public void setMap(Map map) {
		this.map = map;
	}

}
